import 'package:flutter/material.dart';

import '../service/service_method.dart';

//热卖商品
class HotGoodPage extends StatefulWidget{
  @override
  _hotGoodPageState createState()=>_hotGoodPageState();
}

class _hotGoodPageState extends State<HotGoodPage>{

  int page=1;
  @override
  void initState() {
    // TODO: implement initState
    super.initState();

    request('homePageBelowConten',formData: page).then((data){
      print(data);
    });
  }

  @override
  Widget build(BuildContext context) {
    // TODO: implement build
    return Container(
      child: Center(
        child: Text('热卖'),
      ),
    );
  }

}